package bean;

import java.util.Date;
import java.util.ArrayList;
import java.util.List;

public class NhapHang extends Master {

    private int hoaDonID;
    private String maHoaDon;
    private Date ngayNhap;
    private float tongTriGia;
    private int nccID;
    private String ghiChu;
    private Integer trangThai;
    private NhaCungCap nhaCungCap;
    private List<ChiTietNhapHang> chiTietNhapHangs = new ArrayList<ChiTietNhapHang>();

    public NhapHang() {
    }

    public int getHoaDonID() {
        return hoaDonID;
    }

    public void setHoaDonID(int hoaDonID) {
        this.hoaDonID = hoaDonID;
    }

    public String getMaHoaDon() {
        return maHoaDon;
    }

    public void setMaHoaDon(String maHoaDon) {
        this.maHoaDon = maHoaDon;
    }

    public Date getNgayNhap() {
        return ngayNhap;
    }

    public void setNgayNhap(Date ngayNhap) {
        this.ngayNhap = ngayNhap;
    }

    public float getTongTriGia() {
        return tongTriGia;
    }

    public void setTongTriGia(float tongTriGia) {
        this.tongTriGia = tongTriGia;
    }

    public int getNccID() {
        return nccID;
    }

    public void setNccID(int nccID) {
        this.nccID = nccID;
    }

    public String getGhiChu() {
        return ghiChu;
    }

    public void setGhiChu(String ghiChu) {
        this.ghiChu = ghiChu;
    }

    public Integer getTrangThai() {
        return trangThai;
    }

    public void setTrangThai(Integer trangThai) {
        this.trangThai = trangThai;
    }

    public NhaCungCap getNhaCungCap() {
        return nhaCungCap;
    }

    public void setNhaCungCap(NhaCungCap nhaCungCap) {
        this.nhaCungCap = nhaCungCap;
    }

    public List<ChiTietNhapHang> getChiTietNhapHangs() {
        return chiTietNhapHangs;
    }

    public void setChiTietNhapHangs(List<ChiTietNhapHang> chiTietNhapHangs) {
        this.chiTietNhapHangs = chiTietNhapHangs;
    }
}
